package com.trkj.service;

import com.trkj.dao.CarDao;
import com.trkj.entity.CarEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class CarServiceImpl implements CarService{
    //查询车辆
    @Autowired
    private CarDao carDao;
    public List<CarEntity> CarList(CarEntity carEntity){
        return carDao.CarList(carEntity);
    }
    public List<CarEntity> CarXinXi(int id){
        return carDao.CarXinXi(id);
    }
    public List<CarEntity> CarQuantity(){
        return carDao.CarQuantity();
    }
}
